﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tenmah.BusinessLogic.BusinessEntities
{
    public class UserAnswer
    {
        private bool[] answers;
        private int answerCount;

        public UserAnswer(int answerCount)
        {
            this.answers = new bool[answerCount];
            this.answerCount = answerCount;
        }

        public int AnswerCount
        {
            get { return this.answerCount; }
        }

        public bool this[int answerNumber]
        {
            get { return this.answers[answerNumber]; }
            set { this.answers[answerNumber] = value; }
        }
    }
}
